package cn.neusoft.annodi;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

//@Component   // 功能和bean标签一样(id class)  创建该类的对象
@Repository   //数据处理层
public class UserDao {

    public void add(){
        System.out.println("UserDao注解方式---add");
    }

}
